import React, { Component } from "react";
import { Popconfirm } from "antd";

export default class CustomPopconfirm extends Component {
    constructor() {
        super();
    }
    render() {
        return (
            <Popconfirm okText="确定" cancelText="取消" {...this.props}>
                {this.props.children}
            </Popconfirm>
        );
    }
}
